import * as types from './mutation-types'

export const setMenusData = function ({commit}, menus) {
  commit(types.SET_MENUS_DATA, menus)
}

export const setMenusHandleData = function ({commit}, menus) {
  commit(types.SET_MENUS_HANDLE_DATA, menus)
}

export const setPictures = function ({commit}, pictures) {
  commit(types.SET_PICTURES, pictures)
}
